﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using LinFu.IoC.Configuration;
using LinFu.IoC.Interfaces;

namespace CoreEx.Database.Linq.Implementation
{
    [Factory(typeof(IExpressionTranslator_old))]
    public class ExpressionTranslatorFactory_old : IFactory<IExpressionTranslator_old>
    {
        public IExpressionTranslator_old CreateInstance(IFactoryRequest request)
        {
            return new JoinBasedExpressionTranslator(request.ServiceName);
        }
    }
}
